import os
import sys



print(sys.path[0])
def getPath():
    print(os.path.split(os.path.realpath(__file__))[0])
    import inspect
    filename = inspect.stack()[1].filename
    print("调用者所在的文件",filename)
    return sys.path[0]